package com.weixing.mall.provider.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.weixing.mall.provider.model.domain.HelpDoc;
import com.weixing.mall.provider.model.query.HelpDocQuery;
import com.weixing.mall.provider.model.vo.cms.HelpDocEditVo;
import com.weixing.mall.provider.model.vo.cms.HelpDocVo;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 帮助文档 Mapper 接口
 * </p>
 *
 * @author Small
 * @since 2019-11-18
 */
public interface HelpDocMapper extends BaseMapper<HelpDoc> {
    /**
     * @Description 帮助管理 条件查询 <br/>
     * @author gjq
     * @date 2019/7/26 16:00
     * @param helpDocQuery
     * @return java.util.List<com.weixing.mall.provider.model.domain.HelpDoc>
     */
    IPage<HelpDocVo> selectListOfPage(@Param("pg") Page page, @Param("qs")HelpDocQuery helpDocQuery);

    HelpDocEditVo selectHelpDocVoById(Long id);
}